<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" manifest="/r.appcache">
<head>
  <meta charset="UTF-8">
  <meta name='viewport' content="width=device-width,initial-scale=1.0,user-scalable=no">
  <title>商家列表</title>
  <link rel="icon" href="">
  <link rel="stylesheet" href="../../res/core/base.css">
  <link rel="stylesheet" href="list.css">
</head>
<body>
<div id="app">
  <p style="margin:1rem;">商家</p>
  <div v-for="item in items" class="list">
    <a v-bind:href="'detail.html?id='+item.id">
      <kv>
        <k><img v-bind:src="item.image"/></k>
        <div class="name">{{item.name}}</div>
        <div class="remark">{{item.description}}</div>
        <div class="location">{{item.address}}</div>
        <div class="price">起送：{{item.min_price}}元</div>
      </kv>
    </a>
  </div>
  <div v-if="!items.length" class="noData">
    没有商家信息
  </div>
</div>
<script src="../../res/core/require.js"></script>
<script src="../../res/core/main.js"></script>
<script src="list.js"></script>
</body>
</html>
